package com.arpa.ntocc.common.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 登录账号创建DTO
 * </p>
 *
 * @author leo
 * @since 2021-1-19
 */
@Data
@ApiModel(value = "UserLoginDTO对象", description = "登录账号创建")
public class UserLoginCreateDTO implements Serializable {
    @ApiModelProperty(value = "用户标识")
    private String partyCode;
    @ApiModelProperty(value = "登录账号")
    private String userLoginId;
    @ApiModelProperty(value = "登录账号类型：WAREHOUSE（仓库）/SHIPMENT（入驻商）/WAREHOUSE、SHIPMENT（仓库，入驻商）")
    private String userLoginType;
    @ApiModelProperty(value = "'仓库授权'")
    private List<WarehouseAuthorizationJsonBean> warehouseAuthorization;
    @ApiModelProperty(value = "'货主授权'")
    private List<ShipmentAuthorizationJsonBean> shipmentAuthorization;
    @ApiModelProperty(value = "角色列表")
    private List<String> roleCodeList;
}

